include('shared.lua')

function ENT:Initialize()

end

function ENT:Draw()

	self.Entity:DrawModel()

	local r, g, b, a = self:GetColor();

	cam.Start3D( EyePos(), EyeAngles() );
	render.SetMaterial( Material( "sprites/glow04_noz") );
		if( not self.Entity:GetNWBool( "Using" ) ) then
			render.DrawSprite( self:GetPos() + self:GetForward() * 18 + self:GetRight() * -24.5 + self:GetUp() * 5, 10, 10, Color( 0, 255, 0, a ) );
		elseif( self.Entity:GetNWBool( "Using" ) ) then
			render.DrawSprite( self:GetPos() + self:GetForward() * 18 + self:GetRight() * -25 + self:GetUp() * 5, 10, 10, Color( 0, 0, 255, a ) );
		elseif( self.Entity:GetNWBool( "Empty" ) ) then
			render.DrawSprite( self:GetPos() + self:GetForward() * 18 + self:GetRight() * -25 + self:GetUp() * 5, 10, 10, Color( 0, 0, 255, a ) );
		end	
	cam.End3D()	
		
end		
